package com.ftg.learn.chapter06.service.impl;

import com.ftg.learn.chapter06.dao.StudentDao;
import com.ftg.learn.chapter06.service.IStudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author kangjx
 * @createTime 2022/11/8
 */
@Service
public class StudentServiceImpl implements IStudentService {

    @Autowired
    StudentDao studentDao;

    @Override
    public List<Map<String, Object>> showAll() {
        return studentDao.showAll();
    }

}
